package com.ry.aop.myaop.advicechain;

/**
 * 后置处理器
 */
public class AfterAdvice extends BaseAdvice {

    @Override
    public Object execute(Chain chain) throws Throwable {

        try {
            return chain.proceed();
        } finally {
            System.out.println("后置通知");
        }
    }
}
